package com.duobaoyu.dby.supply.common.biz.bo.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName PreWarningConfigGroupBO
 * @createTime 13:03:00 2023/10/16
 */
@Data
public class PreWarningConfigGroupBO implements Serializable {
    private static final long serialVersionUID = 5120964691222358004L;

    /**
     * 分组编码
     */
    private Integer groupCode;

    /**
     * 分组名称
     */
    private String groupName;
    /**
     * 内容
     */
    private List<Item> itemList;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class Item {

        /**
         * id
         */
        private Long id;


        /**
         * 手机号
         */
        private List<String> mobiles;

        /**
         * 配置描述
         */
        private String itemDescribe;

        /**
         * 数量
         */
        private Long count;
    }
}
